from django.conf.urls.defaults import patterns, include, url
from django.views.generic import RedirectView

from django.contrib import admin

admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'lvs.views.home', name='home'),
    # url(r'^lvs/', include('lvs.foo.urls')),

    url(r'^$', RedirectView.as_view(url='/app/')),
    url(r'^app/', include('app.urls')),
    url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
    url(r'^admin/', include(admin.site.urls)),
)

